package com.persistence.dao;

/*******************************************************************************
*DOCUMENT ME!
*
*@author  Diego Iacono
*@since
*******************************************************************************/
public class DAOManagerMain extends DAOManager
{
    private static DAOManagerMain managerDao = null;
    /** DOCUMENT ME! */
    public static final String CONNECTION_MAIN_DB = "jdbc/orbbd";

    /***************************************************************************
    Creates a new DAOManagerMain object.

    @param  connectionName  DOCUMENT ME!
    ***************************************************************************/
    public DAOManagerMain(String connectionName)
    {
        super(connectionName);
    }

    /***************************************************************************
    DOCUMENT ME!

    @return  DOCUMENT ME!
    ***************************************************************************/
    public static DAOManagerMain manager()
    {
        if (managerDao == null)
        {
            managerDao = new DAOManagerMain(CONNECTION_MAIN_DB);
        }

        return managerDao;
    }
}
